using Framework.FSMLite;
using Framework.Utils.SingletonTemplate;
using StateSystem.State;

namespace StateSystem
{
    public class GameStateManager : SingletonBase<StateMachineRunner<StateSystem.GameState>, GameStateManager>
    {

        protected override void OnInit()
        {
            _instance.AppendState<StateInit>(StateSystem.GameState.GameInit);
            _instance.AppendState<StateLoading>(StateSystem.GameState.GameLoading);
            _instance.AppendState<StateHome>(StateSystem.GameState.GameHome);
            _instance.AppendState<StateRoom>(StateSystem.GameState.GameRoom);
        }                                                                
    }
}